package com.qujia.station.domain;

import com.qujia.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

public class Tank extends BaseEntity

{
    private static final long serialVersionUID = 1L;

    /** 油罐id */
    private Long tankId;


    /** 油罐名称 */
    private String tankName;



    /** 罐高 */
    private BigDecimal tankHight;


    /** 罐高 */
    private BigDecimal tankCapacity;


    /** 罐高 */
    private BigDecimal heightAlarm;


    /** 罐高 */
    private BigDecimal lowAlarm;


    /** 罐高 */
    private BigDecimal addAlarm;


    /** 油品id */
    private Long oilId;

    /** 油站id */
    private Long stationId;

    /** 油企id */
    private Long enterpriseId;


    public Long getTankId() {
        return tankId;
    }

    public void setTankId(Long tankId) {
        this.tankId = tankId;
    }

    public String getTankName() {
        return tankName;
    }

    public void setTankName(String tankName) {
        this.tankName = tankName;
    }

    public BigDecimal getTankHight() {
        return tankHight;
    }

    public void setTankHight(BigDecimal tankHight) {
        this.tankHight = tankHight;
    }

    public BigDecimal getTankCapacity() {
        return tankCapacity;
    }

    public void setTankCapacity(BigDecimal tankCapacity) {
        this.tankCapacity = tankCapacity;
    }

    public BigDecimal getHeightAlarm() {
        return heightAlarm;
    }

    public void setHeightAlarm(BigDecimal heightAlarm) {
        this.heightAlarm = heightAlarm;
    }

    public BigDecimal getLowAlarm() {
        return lowAlarm;
    }

    public void setLowAlarm(BigDecimal lowAlarm) {
        this.lowAlarm = lowAlarm;
    }

    public BigDecimal getAddAlarm() {
        return addAlarm;
    }

    public void setAddAlarm(BigDecimal addAlarm) {
        this.addAlarm = addAlarm;
    }

    public Long getEnterpriseId() {
        return enterpriseId;
    }

    public void setEnterpriseId(Long enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    public Long getStationId() {
        return stationId;
    }

    public void setStationId(Long stationId) {
        this.stationId = stationId;
    }

    public Long getOilId() {
        return oilId;
    }

    public void setOilId(Long oilId) {
        this.oilId = oilId;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("tankId", getTankId())
                .append("tankName", getTankName())
                .append("tankHight", getTankHight())
                .append("oilId", getOilId())
                .append("stationId", getStationId())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }


}
